package com.mangofactory.aop
{
	import com.mangofactory.aop.aspects.Aspect;
	import com.mangofactory.aop.joinpoints.ProceedingJoinPoint;
	
	import org.as3commons.bytecode.interception.IInterceptor;
	import org.as3commons.bytecode.interception.IMethodInvocation;
	
	public class StubAspect implements Aspect
	{
		public var wasCalled:Boolean;

		public function intercept(pointCut:ProceedingJoinPoint):void
		{
			wasCalled = true;
			pointCut.proceed();
		}
	}
}